package com.itbaiyun.usercenter.service;

import com.itbaiyun.usercenter.common.BaseResponse;
import com.itbaiyun.usercenter.model.domain.User;
import com.itbaiyun.usercenter.model.domain.UserFollow;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @author O
* @description 针对表【user_follow(用户关注关系表)】的数据库操作Service
* @createDate 2024-08-16 17:40:09
*/
public interface UserFollowService extends IService<UserFollow> {

    BaseResponse<Boolean> followUser(Long followId, boolean isFollow, HttpServletRequest request);

    boolean isFollow(Long followId, HttpServletRequest request);

    List<User> findCommonUser(Long followId, HttpServletRequest request);
}
